import hashlib


def get_timestamp():
    pass


def get_sign(token,body):
    timestamp = get_timestamp()
    data = hashlib.md5(token.encode(encoding='UTF-8')).hexdigest().upper() + str(timestamp) + json.dumps(body)
    data.upper()
    sign = hashlib.md5(data.encode(encoding='UTF-8')).hexdigest().upper()

    return timestamp,sign